package cn.itsource.org.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.org.domain.Employee;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee loadByUsername(String username);

    Employee loadByLogininfoId(Long id);

    List<Employee> loadByShopId(Long id);

    /* 公共的方法继承过来了 */
   /* int add(Employee employee);
    int update(Employee employee);
    int delete(Long id);
    Employee queryById(Long id);
    List<Employee> queryAll();

    int batchRemove(List<Long> ids);*/

    //条件搜索
    /*List<Employee> queryCondition(EmployeeQuery query);*/

}
